package org.springblade.modules.monitor.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.monitor.vo.ItemChartResult;
import org.springblade.modules.monitor.vo.ItemSpeedChartResult;

import java.util.List;

/**
 * @ClassName ThreeLayerSwitchVO
 * @Description
 * @Author zhang_xfei
 * @DATE 2020 2020/6/22 17:38
 **/
@Data
public class SwitchVO {
	/**
	 * 主机基础信息
	 */
	@ApiModelProperty(value = "名称")
	private String host;

	@ApiModelProperty(value = "管理ip")
	private String ip;

	@ApiModelProperty(value = "管理端口")
	private String port;

	@ApiModelProperty(value = "管理状态 1：监控中；2：未监控")
	private Integer manageStatus;

	@ApiModelProperty(value = "管理方式(监控方式) 1:Agent  2:SNMP")
	private Integer manageType;

	@ApiModelProperty(value = "厂商")
	private String factory;

	@ApiModelProperty(value = "描述信息")
	private String systemDesc ;

	@ApiModelProperty(value = "温度")
	private Double temperature ;

	@ApiModelProperty(value = "serviceTag")
	private String serviceTag ;

	@ApiModelProperty("CPU使用率")
	private List<ThreeLayerSwitchCPU> cpuList;

	@ApiModelProperty("内存使用情况,内存使用除内存使用率外，其他可能检索不到，可不进行展示")
	private List<ThreeLayerSwitchMem> memList;

	@ApiModelProperty("电源信息")
	private List<SwitchPower> powerList;

	@ApiModelProperty("交换机物理端口信息")
	private List<ThreeLayerSwitchPort> phyPortList;

	@ApiModelProperty("入口流量使用趋势")
	List<ItemSpeedChartResult> inSpeedTrend;
	List<Long> inSpeedItems;

	@ApiModelProperty("出口流量使用趋势")
	List<ItemSpeedChartResult> outSpeedTrend;
	List<Long> outSpeedItems;

}
